package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.Invoices;
import jtk.project4.fleet.event.InvoiceEvent.InvoiceEventType;

import nl.coderight.jazz.Event;


public class InvoiceEvent extends Event<InvoiceEventType>{
	private List<Invoices> invoices;
	
	public enum InvoiceEventType{
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, SAVE;
	}
	
	public InvoiceEvent(InvoiceEventType type){
		super(type);
	}

	public List<Invoices> getInvoice(){
		return invoices;
	}
	public void setInvoices(List<Invoices> invoices){
		this.invoices=invoices;
	}
}
